﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Persistency.Misc {
    public enum SeverityLevel : int {
        High,
        Medium,
        Low
    }

    public class PersistencyException : System.ApplicationException {

        private SeverityLevel severity;

        public PersistencyException(string message)
            : base(message) {
        }

        public PersistencyException(string message, Exception ex)
            : this(message, SeverityLevel.Low, ex) {
        }

        public PersistencyException(string message, SeverityLevel severity, Exception ex)
            : base(message, ex) {
            this.severity = severity;
        }
    }
}
